package com.kun.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.common.utils.PageUtils;
import com.kun.order.entity.OrderEntity;
import com.kun.order.vo.CountPayTypeVo;
import com.kun.order.vo.MonthSaleByYearVo;
import com.kun.order.vo.OrderVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author kun_er
 * @email 2661038743@qq.com
 * @date 2022-05-02 16:08:08
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CountPayTypeVo> getCountPayType();

    List<MonthSaleByYearVo> getMonthSaleByYear(String year);

    void saveOrderVo(OrderVo order);

    OrderVo getOrderDestailedById(String id);

    void updateOrderVoById(OrderEntity order);

    void removeOrderVoById(String id);
}

